package com.example.department.Impl;

import com.example.department.Entity.Integral;
import com.example.department.Entity.SlideshowPic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SlideshowpicImpl { //用户志愿者积分明细
    List<SlideshowPic> getSlideshowPicList(@Param("slideshowPic") SlideshowPic slideshowPic); //查询全部活动信息
    int addSlideshowPic(@Param("slideshowPic") SlideshowPic slideshowPic); //增加活动信息
    int delSlideshowPic(@Param("sid") int sid); //删除活动信息
    int updateSlideshowPic(@Param("slideshowPic") SlideshowPic integral); //修改活动信息
    SlideshowPic getSlideshowPicById(@Param("sid") int sid); //根据id查询
    List<SlideshowPic> getSlideshowPicPageList(@Param("sid") int sid, @Param("Start") int Start, @Param("Page") int Page);//获取列表
}
